package cn.edu.xaut;

import org.junit.Assert;
import org.junit.Test;

public class TextCalculator {

    @Test
    public void Testadd(){
        Calculator clc = new Calculator();
        Assert.assertEquals(clc.add(1,2),3);
    }

    @Test
    public void Testsub(){
        Calculator clc = new Calculator();
        Assert.assertEquals(clc.sub(4,2),2);
    }
}
